﻿@model ScmAssessmentitemsViewModel
@{
    Layout = null;
    ViewBag.Title = "考核项-添加";
}
<script type="text/javascript">
    function dialogRefresh(json) {
        DWZ.ajaxDone(json);
        if (json.statusCode == DWZ.statusCode.ok) {
            $("#pagerForm", navTab.getCurrentPanel()).submit();
            $.pdialog.closeCurrent();
        }
    }
</script>
<form method="post" action="@Url.Action("AddData", "ScmAssessmentitems")" class="pageForm required-validate" onsubmit="return validateCallback(this,dialogRefresh)">
<div class="pageFormContent sortDrag" layouth="58">
    @Html.TextBoxFor(model => model.TheAssessmentitemsInfo.Ai_ID, new { @type = "hidden" })
    @Html.TextBoxFor(model => model.TheAssessmentitemsInfo.Ai_Type, new { @type = "hidden" })
    <table class="tab01 tabNo" width="100%;">
        <tr>
            <td class="td1" style="width:32%;">
                考核项目：
            </td>
            <td>
                @Html.TextBoxFor(model => model.TheAssessmentitemsInfo.Ai_Project, new { @class = "required input02", @size = "47" })
            </td>
        </tr>
        <tr>
            <td class="td1">
                项目排序：
            </td>
            <td>
                @Html.TextBoxFor(model => model.TheAssessmentitemsInfo.Ai_Order, new { @class = "required input02", @fieldclass = "digits" })
            </td>
        </tr>
        <tr>
            <td class="td1">
                项目总分：
            </td>
            <td>
                @Html.TextBoxFor(model => model.TheAssessmentitemsInfo.Ai_AllScore, new { @class = "required input02", @fieldclass = "digits" })
            </td>
        </tr>
        <tr>
            <td class="td1">
                内容及评价标准：
            </td>
            <td>
                @Html.TextAreaFor(model => model.TheAssessmentitemsInfo.Ai_Content, new { @cols = "43", @rows = "3", @class = "input05" })
            </td>
        </tr>
        <tr>
            <td class="td1">
                评价方法：
            </td>
            <td>
                @Html.TextAreaFor(model => model.TheAssessmentitemsInfo.Ai_Evaluate, new { @cols = "43", @rows = "3", @class = "input05" })
            </td>
        </tr>
        <tr>
            <td class="td1">
                扣分标准：
            </td>
            <td>
                @Html.TextAreaFor(model => model.TheAssessmentitemsInfo.Ai_Standard, new { @cols = "43", @rows = "3", @class = "input05" })
            </td>
        </tr>
    </table>
</div>
<div class="formBar">
    <ul>
        <li>
            <button type="submit" class="btn btn-sm">
                保存</button>
        </li>
        <li>
            <button type="button" class="close btn btn-default btn-sm">
                取消</button>
        </li>
    </ul>
</div>
</form>
